/*
 * Copyright (c) 2010 Andy Aspell-Clark
 * 
 * Permission is hereby granted, free of charge, to any person
 * obtaining a copy of this software and associated documentation
 * files (the "Software"), to deal in the Software without
 * restriction, including without limitation the rights to use,
 * copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the
 * Software is furnished to do so, subject to the following
 * conditions:
 * 
 * The above copyright notice and this permission notice shall be
 * included in all copies or substantial portions of the Software.
 * 
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 * OTHER DEALINGS IN THE SOFTWARE.
 */
package uk.org.aspellclark.agenedb.db;

import uk.org.aspellclark.agenedb.controller.ChangeDateController;
import uk.org.aspellclark.agenedb.controller.Db4oController;
import uk.org.aspellclark.agenedb.controller.FamilyController;
import uk.org.aspellclark.agenedb.controller.GedcomController;
import uk.org.aspellclark.agenedb.controller.HeaderController;
import uk.org.aspellclark.agenedb.controller.IndividualController;
import uk.org.aspellclark.agenedb.controller.MultimediaController;
import uk.org.aspellclark.agenedb.controller.NoteController;
import uk.org.aspellclark.agenedb.controller.RepositoryController;
import uk.org.aspellclark.agenedb.controller.SourceController;
import uk.org.aspellclark.agenedb.controller.SourcePrimitiveController;
import uk.org.aspellclark.agenedb.controller.SubmissionController;
import uk.org.aspellclark.agenedb.controller.SubmitterController;

public class DatabaseObjectContainer {

	public static final int CURRENT_ITEM_TYPE_COMPUTER = 11;
	public static final int CURRENT_ITEM_TYPE_BOOK = 22;

	public static Integer currItemType = -1;
	public static Integer currPetId = -1;
	public static Integer currEventId = -1;

	public static Db4oController dbCntrlr;

	public static GedcomController gedcomCntrlr;
	public static HeaderController headerCntrlr;
	public static FamilyController familyCntrlr;
	public static IndividualController individualCntrlr;
	public static MultimediaController multimediaCntrlr;
	public static NoteController noteCntrlr;
	public static RepositoryController repositoryCntrlr;
	public static SourcePrimitiveController srcPrimitveCntrlr;
	public static SourceController sourceCntrlr;
	public static SubmitterController submitterCntrlr;
	public static SubmissionController submissionCntrlr;
	public static ChangeDateController changeDateCntrlr;

}
